﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace RootfusCoreComponents.IO
{
    /// <summary>
    /// Contains info on the UI aspects of a particular item.
    /// </summary>
    public class SIUIInfo
    {
        public SIUIInfo(double top, double left, double width, double height)
        {
            _position_left = left;
            _position_top = top;

            _size_x = width;
            _size_y = height;
        }

        public SIUIInfo()
        {
        }

        /// <summary>
        /// Where it is located, the y coordinate
        /// </summary>
        public double _position_top = 0.0;
        /// <summary>
        /// Where it is located, the x coordinate.
        /// </summary>
        public double _position_left = 0.0;

        /// <summary>
        /// How wide - only valid if resize is allowed.
        /// </summary>
        public double _size_x = 0.0;
        /// <summary>
        /// How high - only valid if resize is allowed.
        /// </summary>
        public double _size_y = 0.0;
    }
}
